<?php
$token = "xiaxiang";
$web_token = $_SERVER['HTTP_X_GITEE_TOKEN'];
if($token == $web_token) {
    // exec('svn update /www/wwwroot/demo6001_wanyucheng_cn/volunteer/  --username 13012672386 --password xiaxiang  --no-auth-cache',$result, $var);
    // // svn update /www/wwwroot/demo6001_wanyucheng_cn/volunteer/ --username 13012672386 --password xiaxiang  --no-auth-cache
    // var_dump(implode(",", $result));
    // var_dump($var);
    $todaytime=strtotime( "today");
    echo date( "Y-m-d H:i", $todaytime);
    system('/www/wwwroot/nuoyancrm.wanyucheng.com/nuoyancrm/post-commit.sh');
}else{
$todaytime=strtotime( "today");
echo date( "Y-m-d H:i", $todaytime);	
}
